<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"> </meta>
    <title>流程部署列表--layui后台管理模板</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
    <link rel="stylesheet" th:href="@{/static/css/font_eolqem241z66flxr.css}" media="all"></link>
    <link rel="stylesheet" th:href="@{/static/css/news.css}"  media="all"></link>
</head>
<body class="childrenBody">
<blockquote class="layui-elem-quote news_search">
    <div class="layui-inline">
        <a class="layui-btn layui-btn-normal processAdd_btn">部署新流程</a>
    </div>
    <div class="layui-inline">
        <div class="layui-form-mid layui-word-aux"></div>
    </div>
</blockquote>
<div class="layui-form news_list">
    <form id="ProcessDefine" name="ProcessDefine">
        <table class="layui-table">

            <thead>
            <tr>
                <th>流程ID</th>
                <th>流程名称</th>
                <th>资源名称</th>
                <th>流程图名称</th>
                <th>部署id</th>
                <th>流程版本号</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody class="news_content1">
            <tr th:each="process : ${list}">
                <td th:text="${process.id}"> </td>
                <td th:text="${process.name}"> </td>
                <td th:text="${process.resourceName}"> </td>
                <td th:text="${process.diagramResourceName}"></td>
                <td th:text="${process.deploymentId}"> </td>
                <td th:text="${process.version}"> </td>
                <td>
                    <a class="layui-btn layui-btn-danger layui-btn-mini deploy_process"   th:value ="${process.resourceName}"><i class="layui-icon" style="font-size: 30px; color: #1E9FFF;">&#xe640;</i>重新部署此流程</a>
                    <a class="layui-btn layui-btn-mini role_edit" th:value="${process.id}"><i class="iconfont icon-edit"></i>删除流程</a>

                </td>
            </tr>

            </tbody>
        </table>
    </form>
</div>
<div id="page"></div>
<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/static/js/processDefine.js}"></script>
</body>
</html>